﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BasicData.Domain
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class UserInfo
    {
        /// <summary>
        /// 用户id
        /// </summary>
        [Key]
        public int UserId {  get; set; }


        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }    

        /// <summary>
        /// 姓名
        /// </summary>
        public string NickName { get; set; }    

        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd {  get; set; }


        /// <summary>
        /// 部门id
        /// </summary>
        public int DpetId { get; set; }

        /// <summary>
        /// 角色id
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone {  get; set; }


        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email {  get; set; }


        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime CreateTime { get; set; } =DateTime.Now;


        /// <summary>
        /// 删除
        /// </summary>
        public int IsDelete { get; set; } = 0;


        /// <summary>
        /// 状态
        /// </summary>
        public int State {  get; set; }



    }
}
